﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using PriceLibrary.ChartService;

namespace VDataAdapter.EventManagement
{
    [Serializable()]
    public class TransactionsEvent : Event
    {
        public TransactionsEvent(IList<Transaction> transactionsList,
            int countNumber, int totalCountNumber)
            : base()
        {
            _transactionsList = transactionsList;
            _countNumber = countNumber;
            _totalCountNumber = totalCountNumber;
        }
        public TransactionsEvent(IList<Transaction> transactionsList,
            int countNumber, int totalCountNumber, DateTime time) : base(time)
        {
            _transactionsList = transactionsList;
            _countNumber = countNumber;
            _totalCountNumber = totalCountNumber;
        }

        IList<Transaction> _transactionsList;
        public IList<Transaction> TransactionsList
        {
            get
            {
                return _transactionsList;
            }
        }

        int _countNumber;
        public int CountNumber
        {
            get
            {
                return _countNumber;
            }
        }

        int _totalCountNumber;

        public int TotalCountNumber
        {
            get
            {
                return _totalCountNumber;
            }
        }       
    }
}
